package com.baidu.service;

import com.baidu.entity.PageResult;
import com.baidu.pojo.Member;

import java.util.ArrayList;

public interface MemberService {
	Member findByTelephone(String telephone);

	void register(Member member);

	Member findMemberById(Integer id);

	ArrayList<Integer> findMemberByMonth(ArrayList<String> listM);


	PageResult findByPage(Integer currentPage, Integer pageSize, String queryString);

	void addMember(Member member);

	void editMember(Member member);

	void deleteMemberById(Integer id);
}
